package com.example.xing;

import java.io.IOException;

import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpException;
import org.apache.commons.httpclient.methods.GetMethod;

public class Java {
	public static void main(String[] args) throws HttpException, IOException {
		 HttpClient client=new HttpClient();
		 
		 GetMethod method=new GetMethod("http://www.baidu.com");
		 int gg = client.executeMethod(method);
		 		System.out.println("wewe"+gg);
		 		
		 		
		 		classa classsf = new classa();
System.out.println(classsf.gg);		 		
	}

}
